package cn.iutils.common.controller;

import cn.iutils.common.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 网页自由跳转控制器
 * Created by CC on 17/12/5.
 */
@Controller
@RequestMapping(value = "${adminPath}/toPage")
public class ToController extends BaseController{

    /**
     * 跳转地址
     * @param path
     * @return
     */
    @RequestMapping(method = RequestMethod.GET)
    public String to(String path){
        return path;
    }

}
